package oop6;

import java.util.Scanner;

/**
 * @author oldliu
 * @since 1.0
 */
public class CalcTest {
    //踢皮球
    public static void main(String[] args) {
        Scanner in=new Scanner(System.in);
        System.out.println("input a and b:");
        int a=in.nextInt();
        int b=in.nextInt();
        Caculator c=new Caculator();

        try {
            int div  = c.div(a, b);
            System.out.println("商是"+div);
        } catch (Exception e) {
            e.printStackTrace();
        }

    }

//    //踢皮球
//    public static void main(String[] args) throws Exception {
//        Scanner in=new Scanner(System.in);
//        System.out.println("input a and b:");
//        int a=in.nextInt();
//        int b=in.nextInt();
//        Caculator c=new Caculator();
//        int div = c.div(a, b);
//        System.out.println("商是"+div);
//    }
}
